package com.vanke.devops.api.properties;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author 陈景阳
 * @since 2018/1/7
 */
@Getter
@Setter
@ConfigurationProperties(prefix = RedisProperties.REDIS_PREFIX)
public class RedisProperties {

    public static final String REDIS_PREFIX = "spring.redis";

    private String host;

    private Integer port;

    private String password;

    private Integer database;

    private Integer timeout;

    private Integer expire;
}
